import Partainfo from "./partainfo"
import { del, get, post } from '../http';
import api from "../api";
import { AxiosPromise } from "axios";
import partaModel from "../partaModel";
class Partainfos implements Partainfo {

    query(params?: any): AxiosPromise<any> {
        return get(api.query, params)
    }
    add(data: partaModel): AxiosPromise<any> {
        return post(api.Addjia, data)
    }
}
export default new Partainfos()